/*public class test {
    protected Element getParentElement(CorruptedSlice slice, Document document) throws JDOMException {
        String parent = slice.getParentElement();

        StringBuilder query = new StringBuilder("//*[local-name()=\"").append(parent).append("\"]");

        String parentIdent = slice.getParentIdent();
        if (parentIdent != null && !parentIdent.equals("")) {
            query.append("[@ident=\"").append(parentIdent).append("\"]");
        }

        return (Element) XPath.selectSingleNode(document, query.toString());

    }
} */
